根据两个文件ID比较表是否有差异

请求地址

/v2/webservice/apply/compare-tablefile-by-attachids

请求方法

Post

请求参数说明

参数名称类型是否必填说明
app_idnumber是项目ID
zone_idnumber是游戏区ID
table_namestring是表名
table_typenumber是
original_idsnumber[]是原表文件ID
modified_idsnumber[]是新表文件ID

示例

{ “app_id”: 5, “zone_id”: 1, “original_ids”: [ 809 ], “modified_ids”:[434], “table_name”:“ListTableDemo”, “table_type”:1 }

返回参数说明

参数名称类型说明
is_diffbooleantrue表示有表更,false, 表示无变更
check_resultobjectstatus是比较结果,0表示变更合法
file_extentstring文件后缀

成功返回

{
    "code": 0,
    "request_id": "7ca2806a-fcf5-4247-8cfa-ace35c42c265",
    "data": {
        "is_diff": true,
        "check_result": {
            "status": -1,
            "new_entry_length_exceeded_count": 0,
            "new_entry_length_exceeded": [],
            "has_new_entry_count_without_refer": false,
            "table_field_changed": true,
            "err_msg": "ListTableDemo ValueFieldNum(6) is not equal to ListTableDemo ValueFieldNum(7)"
        },
        "file_extent": "xml"
    }
}

失败返回

{

}